]> dgit.raspbian.org Git - gnome-shell.git/commit
slider: Consider text direction when handling arrow keys
authorSundeep Mediratta <smedius@gmail.com>
Wed, 9 Oct 2024 17:17:30 +0000 (13:17 -0400)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 17 Oct 2024 16:52:28 +0000 (18:52 +0200)
commit50fa7ef18311be504fcc72ec502206847ba3c750
tree4fe94fc098034d7f06e7740495c54ed1ee3192c6
parentec668b7384fe7c164dd2718ac9cdd69996d7da3b
slider: Consider text direction when handling arrow keys

Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>
(cherry picked from commit 5309f747fad23ebc707870868016f0414776e59c)
js/ui/slider.js